﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AccountAdmin/AdminMaster.master" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="AccountAdmin_Veiculo_Marca_Home" %>

<asp:Content ID="Content1" ContentPlaceHolderID="headTile" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="headScript" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="header_search" Runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="login_header" Runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="header_pos_menu" Runat="Server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="body_pre_central" Runat="Server">
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="body_central_first" Runat="Server">
</asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderID="body_central" Runat="Server">

    <form id="form1" runat="server"> 
       <!-- Start Box -->
        <div class="boxes-full">

            <div class="boxes-padding fullpadding">

                <!-- Start None Split Section -->
                <div class="splitnone">

                    <div id="portfolio-container">


                        <!-- Start 4 column portfolio -->
                        <div class="element web">

                            <div class="col1">           				
                                <div class="wrapper_01">


                                    <div class="wrapper_01">
                                        <li class="under_02"><a href="/AccountAdmin/Home.aspx" title="" class="active">Página Inicial</a></li>
                                        <li class="under_02"><a href="#">Anúncios</a></li>
                                        <li class="under_02"><a href="#">Meus Dados</a></li>                                        
                                        <li class="under_02"><a href="/AccountAdmin/Veiculo/Marca/Home.aspx" title="" class="active">Marcas</a></li>                                       
                                        <li class="under_02"><a href="/AccountAdmin/Veiculo/Modelo/Home.aspx" title="" class="active">Modelos</a></li>                                       
                                        <li class="under_02"><a href="/AccountAdmin/Veiculo/Home.aspx" title="" class="active">Veículos</a></li>                                       
                                        <li class="under_02"><a href="#">Sair</a></li>
                                    </div>	

                                </div>									
                            </div>

                        </div>

                        <div class="element graphic">

                           

                        </div>

                        <div class="element logo">
                        
                            <asp:GridView ID="grvMarca" runat="server" AutoGenerateColumns="False" 
                                DataKeyNames="mar_id" DataSourceID="dsMarca">
                                <Columns>
                                    <asp:BoundField DataField="mar_id" HeaderText="ID" ReadOnly="True" 
                                        SortExpression="mar_id" />
                                    <asp:BoundField DataField="mar_nome" HeaderText="Marca" 
                                        SortExpression="mar_nome" />
                                    <asp:CommandField ButtonType="Button" CancelText="Cancelar" 
                                        DeleteText="Excluir" EditText="Editar" ShowDeleteButton="True" 
                                        ShowEditButton="True" />
                                </Columns>
                                <EmptyDataTemplate>
                                    Não registros na base de dados.
                                </EmptyDataTemplate>
                            </asp:GridView>
                            <asp:EntityDataSource ID="dsMarca" runat="server" 
                                ConnectionString="name=eutolisoEntities" 
                                DefaultContainerName="eutolisoEntities" EnableDelete="True" 
                                EnableFlattening="False" EnableUpdate="True" EntitySetName="marca">
                            </asp:EntityDataSource>

                            <br /><br />

                            <asp:TextBox ID="txtNome" runat="server"></asp:TextBox>
                            <asp:Button ID="btnInserir" runat="server" Text="Inserir" 
                                onclick="btnInserir_Click" />
                        
                        </div>

                        <!-- End 4 column portfolio -->

                    </div>

                </div>
                <!-- End None Split Section -->

            </div>

        </div>
        <!-- End Box -->
        </form>

</asp:Content>
<asp:Content ID="Content9" ContentPlaceHolderID="body_pos_central" Runat="Server">
</asp:Content>

